import java.util.Stack;

public class Test {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode ret = binaryTree.createTree();

        System.out.println(binaryTree.isCompleteTree(ret));

        System.out.println(binaryTree.lowestCommonAncestor2(ret, ret.left.right.right, ret.left.left).val);

    }
}
